CREATE TABLE [dbo].[tb_ItemsDeExamenes]
(
[idItem] [int] NOT NULL IDENTITY(1, 1),
[Examen] [int] NOT NULL,
[SiONo] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Observaciones] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ItemsDeExamenes] ADD CONSTRAINT [PK_tb_ItemsDeExamenes] PRIMARY KEY NONCLUSTERED  ([idItem]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_ItemsDeExamenes] WITH NOCHECK ADD CONSTRAINT [FK_tb_ItemsDeExamenes_tb_ExamenesMedicos] FOREIGN KEY ([Examen]) REFERENCES [dbo].[tb_ExamenesMedicos] ([IdExamenMedico])
GO
